
package jnpf.zc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.zc.entity.ZcglCustomerBusinessEntity;
import jnpf.zc.entity.ZcglCustomerEntity;
import jnpf.zc.entity.ZcglCustomerUserEntity;
import jnpf.zc.model.zcglcustomer.ZcglCustomerForm;
import jnpf.zc.model.zcglcustomer.ZcglCustomerPagination;

import java.util.List;

/**
 *
 * 客户库
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-12-28
 */
public interface ZcglCustomerService extends IService<ZcglCustomerEntity> {


    List<ZcglCustomerEntity> getList(ZcglCustomerPagination zcglCustomerPagination);

    List<ZcglCustomerEntity> getTypeList(ZcglCustomerPagination zcglCustomerPagination,String dataType);


    ZcglCustomerEntity getInfo(String id);

    void delete(ZcglCustomerEntity entity);

    void create(ZcglCustomerEntity entity);

    boolean update(String id, ZcglCustomerEntity entity);

//  子表方法

    //列表子表数据方法
        ZcglCustomerBusinessEntity getZcglCustomerBusiness(String id);

        ZcglCustomerUserEntity getZcglCustomerUser(String id);


    //验证表单
    boolean checkForm(ZcglCustomerForm form, int i);
}
